Water Role In Planetary Formation